package com.chey.dao;

import com.chey.domain.Pages;
import com.chey.domain.QueryData;
import com.chey.domain.Show;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author JanYao
 * @version 0.1
 */
@Mapper
public interface ShowDao {
    public List<Show> findSome(@Param("page") Pages page,@Param("data") QueryData data);


    @Select("select count(*) from menu")
    public Long counts();

    public Long ConditionCounts(@Param("data") QueryData queryData);

//    public List<Show> findById(@Param("id") String id);
}
